package string.nowcoder.easy;

import java.util.Scanner;

/**
 * @author bruin_du
 * @description 解读密码
 * @date 2022/7/3 15:57
 **/
public class UnscramblePassword {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while(in.hasNextLine()) {
            String str = in.nextLine();
            StringBuilder ret = new StringBuilder();
            for (int i = 0; i < str.length(); i++) {
                char ch = str.charAt(i);
                if(ch >= '0' && ch <= '9') {
                    ret.append(ch);
                }
            }
            System.out.println(ret);
        }
    }
}
